<?php


class UserInformation{
    public static function getUserFullname()
	{
		return Yii::app()->user->getState('userFullname');
	}
	
	public static function getUserId()
	{
		return Yii::app()->user->getState('userId');
	}
		
	public static function getAccountId()
	{
		return Yii::app()->user->getState('accountId');
	}
	
	public static function getLocationId()
	{
		return Yii::app()->user->getState('locationId');
	}
	
	
	public static function getLocationName()
	{
		return Yii::app()->user->getState('locationName');
	}
	
	
	public static function getIsAdmin()
	{
		return Yii::app()->user->getState('isAdmin');
	}
	
	
}

?>